<?php

namespace app\admin\validate;

use think\Validate;

class Sms extends Validate
{
    protected $rule = [
        'content' => 'require',
        'ids'        => 'require'
    ];

    protected $message = [
        'content.require' => '短信内容不能为空！',
        'ids.require' => '必须选择发送的手机号！',
    ];

    protected $scene = [
        'add_sms' => [
            'content',
            'ids'
        ],
    ];
}
